package com.mesSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.sql.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("equipment_repair")
public class EquipmentRepair {
    @TableId(value = "equipment_repair_id", type = IdType.AUTO)
    /**
     * 设备故障维修表id
     */
    private Long equipmentRepairId;
    /**
     * 设备id
     */
    private Long equipmentId;
    /**
     * 故障类型
     */
    private String faultType;
    /**
     * 故障说明
     */
    private String faultDescription;
    /**
     * 维修人
     */
    private String repairer;
    /**
     * 备注
     */
    private String remark;
    /**
     * 维修日期
     */
    private Date repairDate;
    /**
     * 维修结束日期
     */
    private Date completionDate;
}
